package com.jc.subject.domain.convert;

import com.jc.subject.domain.entity.SubjectAnswerDO;
import com.jc.subject.domain.entity.SubjectInfoDO;
import com.jc.subject.infra.basic.entity.*;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author gongjiawei
 * @Date 2024/6/5 21:29
 * @注释
 */
@Mapper
public interface SubjectAnswerConverter {
    SubjectAnswerConverter INSTANCE= Mappers.getMapper(SubjectAnswerConverter.class);
    SubjectBrief convertBoToBrief(SubjectInfoDO subjectAnswerDO);

    SubjectRadio convertBoToRadio(SubjectAnswerDO subjectAnswerDO);

    List<SubjectMultiple> convertBoToMultipleList(List<SubjectAnswerDO> subjectAnswerDO);

     List<SubjectJudge> convertBoToJudgeList(List<SubjectAnswerDO> subjectAnswerDO);

    List<SubjectRadio> convertBoToRadioList(List<SubjectAnswerDO> subjectAnswerDO);
    List<SubjectBrief> convertBoToBriefList(List<SubjectAnswerDO> subjectAnswerDO);
}
